<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/public_header_main.jsp"%>

<link href="${ctx_static }/home/configuration/css/entryForm.css" rel="stylesheet">

      <div class="row">
          <div class="col-lg-12 col-sm-12 col-xs-12">
              <div class="widget">
                  <div class="widget-header">
                      <div class="widget-buttons">
                          <a href="#" data-toggle="collapse">
                              <i class="fa fa-minus"></i>
                          </a>
                          <a href="#" data-toggle="dispose">
                              <i class="fa fa-times"></i>
                          </a>
                      </div>
                      <!--Widget Buttons-->
                  </div>
                  <!--Widget Header-->
                  <div class="widget-body">
                      <div class="widget-main ">
                          <div class="tabbable">
                              <ul class="nav nav-tabs tabs-flat">
                                  <li class="active">
                                      <a data-toggle="tab" href="#professional">
                                          	职业资格
                                      </a>
                                  </li>
                                  <li>
                                      <a data-toggle="tab" href="#education">
                                         	 学历
                                      </a>
                                  </li>
                              </ul>
                              <div class="tab-content tabs-flat bordered-blue">
                                  <div id="professional" class="tab-pane in active">
                                  <shiro:hasPermission name="bizConfig:add">
                                      <button class="btn increase pull-right add-line-pro" data-toggle="modal" data-backdrop="static">新增
                                          <i class="fa fa-plus-square-o right"></i>
                                      </button>
                                  </shiro:hasPermission>    
                                      <form action="" class="col-sm-12">
                                          <table class="table table-bordered table-hover dataTable no-footer add-table add-table-pro text-center">
                                              <thead>
                                                  <tr role="row">
                                                      <th>说明</th>
                                                      <th>操作</th>
                                                  </tr>
                                              </thead>
                                              <tbody>
                                              <c:forEach items="${list1 }" var="item">
                                              	  <tr>
                                              	  	  <td class="id" style="display:none">${item.configId }</td>
                                                      <td class="desc">
                                                          ${item.configDesc }
                                                      </td>
                                                      <td>
	                                                      <shiro:hasPermission name="bizConfig:edit">
	                                                          <a href="#" data-configid="${item.configId }" class="btn btn-info btn-xs edit"><i class="fa fa-edit"></i>编辑</a>
	                                                      </shiro:hasPermission>
	                                                      <shiro:hasPermission name="bizConfig:delete">    
	                                                          <a href="#" data-configid="${item.configId }" class="btn btn-danger btn-xs delete"><i class="fa fa-trash-o"></i>删除</a>
	                                                      </shiro:hasPermission>	
                                                      </td>
                                                  </tr>
                                              </c:forEach>
                                              </tbody>
                                          </table>
                                      </form>
                                  </div>
                                  <div id="education" class="tab-pane">
                                      <shiro:hasPermission name="bizConfig:add">
                                      <button class="btn increase pull-right add-line-edu" data-toggle="modal" data-backdrop="static">新增
                                          <i class="fa fa-plus-square-o right"></i>
                                      </button>
                                      </shiro:hasPermission>
                                      <form action="" class="col-sm-12">
                                          <table class="table table-bordered table-hover dataTable no-footer add-table add-table-edu text-center">
                                              <thead>
                                              <tr role="row">
                                                  <th>内容</th>
                                                  <th>操作</th>
                                              </tr>
                                              </thead>
                                              <tbody>
                                               <c:forEach items="${list2 }" var="item">
                                              	  <tr>
                                              	  	  <td class="id" style="display:none">${item.configId }</td>
                                                      <td class="desc">
                                                          ${item.configDesc }
                                                      </td>
                                                      <td>
	                                                      <shiro:hasPermission name="bizConfig:edit">
	                                                          <a href="#" data-configid="${item.configId }" class="btn btn-info btn-xs edit"><i class="fa fa-edit"></i>编辑</a>
	                                                      </shiro:hasPermission>
	                                                      <shiro:hasPermission name="bizConfig:delete">    
	                                                          <a href="#" data-configid="${item.configId }" class="btn btn-danger btn-xs delete"><i class="fa fa-trash-o"></i>删除</a>
	                                                      </shiro:hasPermission>
                                                      </td>
                                                  </tr>
                                               </c:forEach>
                                              </tbody>
                                          </table>
                                      </form>
                                  </div>
                              </div>
                          </div>
                      </div>
                  </div>
                  <!--Widget-->
                </div>
            </div>

        </div>

<script src="${ctx_static }/home/configuration/js/entryForm.js"></script>
